package edu.sctu.xuping.month05.day20150511;

/**
 * Created by user16 on 2015/5/11.
 */
public class TextFour {
    public String name;
    public int number;
    public String action;

    public TextFour(String name, int number, String action) {
        this.name = name;
        this.number = number;
        this.action = action;
    }

    public String getName() {
        return name;
    }

    public int getNumber() {
        return number;
    }

    public String getAction() {
        return action;
    }

    public void getNews() {
        System.out.println(getName() + getNumber() + getAction());
    }
}
